
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class LoadingWidget extends StatelessWidget{

  double height;
  double value;

  LoadingWidget({this.height = 40,this.value});

  @override
  Widget build(BuildContext context) {
    return Center(child: SizedBox(
      width: height,height: height,
      child: CircularProgressIndicator(value:value,valueColor:AlwaysStoppedAnimation(Color(0xFF708E6B)),),
    ));
  }

}